package com.qy.bean ;

import java.io.Serializable;
import java.util.Date;

/**
* u_order_info 
* @author zhangwenlong
* @date   Mon Feb 05 15:54:04 GMT+08:00 2018
*/ 
public class OrderInfo extends DataObject  implements Serializable {

    	private static final long serialVersionUID = 1L;

	/**  */
	private int id;

	/** 用户id */
	private int userId;

	/** 取车时间 */
	private Date fetchDate;

	/** 取车位置 */
	private String fetchLocation;

	/** 取车坐标 */
	private String fetchCoord;

	/** 取车送车人的名字 */
	private String fetchUserName;

	/** 取车电话 */
	private String fetchPhone;

	/** 还车时间 */
	private Date returnDate;

	/** 还车位置 */
	private String returnLocation;

	/** 还车坐标 */
	private String returnCoord;

	/** 联系电话 */
	private String returnPhone;

	/** 还车收车人的名字 */
	private String returnUserName;

	/** 车牌号 */
	private String plateNumber;

	/** 后6位唯一码 */
	private String vln;

	/** 订单类型 */
	private int orderType;

	/** 创建日期 */
	private Date createDate;

	/** 订单状态 */
	private int orderStatus;

	/** 对应的支付信息id */
	private int payId;

	/** 渠道id */
	private int channelId;

	/** 取车服务号 */
	private int fDriver;

	/** 检车服务号 */
	private int sDriver;

	/** 还车服务号 */
	private int tDriver;

	/** 车检站的id */
	private int stationId;

	public void setId(int id) {
		if (this.id != id) {
			this.id = id;
			setOp(Option.Update);
		}
	}

	public int getId() {
		return id;
	}

	public void setUserId(int userId) {
		if (this.userId != userId) {
			this.userId = userId;
			setOp(Option.Update);
		}
	}

	public int getUserId() {
		return userId;
	}

	public void setFetchDate(Date fetchDate) {
		if(this.fetchDate == null || !this.fetchDate.equals(fetchDate)) {
			this.fetchDate = fetchDate;
			setOp(Option.Update);
		}
	}

	public Date getFetchDate() {
		return fetchDate;
	}

	public void setFetchLocation(String fetchLocation) {
		if(this.fetchLocation == null || !this.fetchLocation.equals(fetchLocation)) {
			this.fetchLocation = fetchLocation;
			setOp(Option.Update);
		}
	}

	public String getFetchLocation() {
		return fetchLocation;
	}

	public void setFetchCoord(String fetchCoord) {
		if(this.fetchCoord == null || !this.fetchCoord.equals(fetchCoord)) {
			this.fetchCoord = fetchCoord;
			setOp(Option.Update);
		}
	}

	public String getFetchCoord() {
		return fetchCoord;
	}

	public void setFetchUserName(String fetchUserName) {
		if(this.fetchUserName == null || !this.fetchUserName.equals(fetchUserName)) {
			this.fetchUserName = fetchUserName;
			setOp(Option.Update);
		}
	}

	public String getFetchUserName() {
		return fetchUserName;
	}

	public void setFetchPhone(String fetchPhone) {
		if(this.fetchPhone == null || !this.fetchPhone.equals(fetchPhone)) {
			this.fetchPhone = fetchPhone;
			setOp(Option.Update);
		}
	}

	public String getFetchPhone() {
		return fetchPhone;
	}

	public void setReturnDate(Date returnDate) {
		if(this.returnDate == null || !this.returnDate.equals(returnDate)) {
			this.returnDate = returnDate;
			setOp(Option.Update);
		}
	}

	public Date getReturnDate() {
		return returnDate;
	}

	public void setReturnLocation(String returnLocation) {
		if(this.returnLocation == null || !this.returnLocation.equals(returnLocation)) {
			this.returnLocation = returnLocation;
			setOp(Option.Update);
		}
	}

	public String getReturnLocation() {
		return returnLocation;
	}

	public void setReturnCoord(String returnCoord) {
		if(this.returnCoord == null || !this.returnCoord.equals(returnCoord)) {
			this.returnCoord = returnCoord;
			setOp(Option.Update);
		}
	}

	public String getReturnCoord() {
		return returnCoord;
	}

	public void setReturnPhone(String returnPhone) {
		if(this.returnPhone == null || !this.returnPhone.equals(returnPhone)) {
			this.returnPhone = returnPhone;
			setOp(Option.Update);
		}
	}

	public String getReturnPhone() {
		return returnPhone;
	}

	public void setReturnUserName(String returnUserName) {
		if(this.returnUserName == null || !this.returnUserName.equals(returnUserName)) {
			this.returnUserName = returnUserName;
			setOp(Option.Update);
		}
	}

	public String getReturnUserName() {
		return returnUserName;
	}

	public void setPlateNumber(String plateNumber) {
		if(this.plateNumber == null || !this.plateNumber.equals(plateNumber)) {
			this.plateNumber = plateNumber;
			setOp(Option.Update);
		}
	}

	public String getPlateNumber() {
		return plateNumber;
	}

	public void setVln(String vln) {
		if(this.vln == null || !this.vln.equals(vln)) {
			this.vln = vln;
			setOp(Option.Update);
		}
	}

	public String getVln() {
		return vln;
	}

	public void setOrderType(int orderType) {
		if (this.orderType != orderType) {
			this.orderType = orderType;
			setOp(Option.Update);
		}
	}

	public int getOrderType() {
		return orderType;
	}

	public void setCreateDate(Date createDate) {
		if(this.createDate == null || !this.createDate.equals(createDate)) {
			this.createDate = createDate;
			setOp(Option.Update);
		}
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setOrderStatus(int orderStatus) {
		if (this.orderStatus != orderStatus) {
			this.orderStatus = orderStatus;
			setOp(Option.Update);
		}
	}

	public int getOrderStatus() {
		return orderStatus;
	}

	public void setPayId(int payId) {
		if (this.payId != payId) {
			this.payId = payId;
			setOp(Option.Update);
		}
	}

	public int getPayId() {
		return payId;
	}

	public void setChannelId(int channelId) {
		if (this.channelId != channelId) {
			this.channelId = channelId;
			setOp(Option.Update);
		}
	}

	public int getChannelId() {
		return channelId;
	}

	public void setFDriver(int fDriver) {
		if (this.fDriver != fDriver) {
			this.fDriver = fDriver;
			setOp(Option.Update);
		}
	}

	public int getFDriver() {
		return fDriver;
	}

	public void setSDriver(int sDriver) {
		if (this.sDriver != sDriver) {
			this.sDriver = sDriver;
			setOp(Option.Update);
		}
	}

	public int getSDriver() {
		return sDriver;
	}

	public void setTDriver(int tDriver) {
		if (this.tDriver != tDriver) {
			this.tDriver = tDriver;
			setOp(Option.Update);
		}
	}

	public int getTDriver() {
		return tDriver;
	}

	public void setStationId(int stationId) {
		if (this.stationId != stationId) {
			this.stationId = stationId;
			setOp(Option.Update);
		}
	}

	public int getStationId() {
		return stationId;
	}

}

